A novel infrastructure modularity index for the segmentation of water distribution networks