Examination of the mechanism of the intramolecular amination of N-(3 -bromopyridin -2 -yl )azaheteroarylamines and N-(2-chloropyridin-3-yl)azaheteroarylamines : a Pd-catalyzed amination and/or a base-assisted nucleophilic aromatic substitution?