New methods for the synthesis of N-heteroaromatics and imines