Water temperature regulations could help to balance biodiversity and energy security