High-order entropy-compressed text indexes