Reaction of tryptophan derivatives with nitrite