How does an automatic water pump control system work?