Stimulus Perception by Histidine Kinases