Spirocyclization of an N-acyliminium ion with substituted pyridine: synthesis of tricyclic spirolactams possessing pyridine or pyridone nucleus