Water Misallocation and Environmental Externalities in Electricity Generation