Characterization and detection of β-lactamases