A discriminative method for remote homology detection based on n-peptide compositions with reduced amino acid alphabets