Nucleophilic substitution in the side chain of five-membered heterocycles. 3. Reactions of heterocyclic aldehydes with aniline and with benzoylmethylenetriphenylphosphorane