Protein and whole-cell biosensors