Evolution of an enzyme from a solute binding protein.