Regioselective N-alkylation with alcohols for the preparation of 2-(N-alkylamino)quinazolines and 2-(N-alkylamino)pyrimidines