The Burrows-Wheeler Transform between Data Compression and Combinatorics on Words