Structural and evolutionary approaches to the design and optimization of fluorescence-based small molecule biosensors.