Asymmetric synthesis of beta-lactams using chiral-memory effect on photochemical gamma-hydrogen abstraction by thiocarbonyl group.