Optimal design of water distribution networks under uncertainty