The scorching weather that has smashed temperature records across Europe this week shows the growing number and intensity of heat waves on the continent.