The functions of tryptophan residues in membrane proteins.