Stereoselective synthesis of .beta.-lactams by condensation of titanium enolates of 2-pyridyl thioesters with imines