Detecting pipe bursts by monitoring water demand