Intramolecular nucleophilic attack in 6-epi-ampicillin