Synthesis and study of N-substituted 1,2-dihydropyridines