Directed selective pressure on a β-lactamase to analyse molecular changes involved in development of enzyme function