Photochemistry of Hantzsch 1,4-dihydropyridines and pyridines