Allyl amines as ammonia equivalents in the preparation of anilines and heteroarylamines