Reaction of allyltriphenylphosphonium iodide with amines