Using Complex Network Analysis for Optimization of Water Distribution Networks