Reaction of N-chloromethyldiethylamine, N-chloromethylbenzamide, N-chloromethylphthalimide with amides of trivalent phosphorus acids