N-alkylation of porphins and related macrocycles