Cycloaddition reactions of N-methyl-1,2-dihydropyridine