Stereoselective synthesis of beta-lactams by condensation of titanium enolates of 2-pyridylthioesters with imines