Contribution of β-lactamase production to the resistance of mycobacteria to β-lactam antibiotics