Compressed Representations of sequences and full-text indexes