The luminescence of tryptophan and phenylalanine derivatives