A new synthesis of pyridones and unsaturated lactams