Mechanism of action of β-lactam antibiotics at the molecular level