ampicillin mechanisms