Electrochemical behaviour of ω-bromoalkanamides. Electrosynthesis of β-, γ-, δ-lactams