Alkaline and acidic hydrolysis of the b-lactam ring