Impacts of climate change on energy systems in global and regional scenarios