Signaling mechanisms of HAMP domains in chemoreceptors and sensor kinases.