Optimal Design of District Metering Areas for the Reduction of Leakages