Detection and location of leaks in water distribution systems