ampicillin mechanism