An Environmental Analysis of the Effect of Energy Saving, Production and Recovery Measures on Water Supply Systems under Scarcity Conditions