Electrochemical studies on β-lactams. Part 3. Electrosynthesis of β-lactams via N-C4 bond formation