Synthesis of 6-substituted 2-(N-acetylamino)pyridines and 2-aminopyridines by cyclization of 5-oximinoalkanenitriles