How does a pressure switch work on a water pump