Evolution-guided engineering of small-molecule biosensors