A number of countries have reported record heatwaves this summer, including Greece, Russia, Finland, Canada and the United States.