DFT and structural studies of 2-oxo-1,2,3,4-tetrahydropyridines