Enamine chemistry. Part XI. Reaction of αβ-unsaturated acids and acid chlorides with imines. Synthesis of 2-oxotetrahydropyridines and 2-oxo-octahydroquinolines