Europe has seen a number of life-threatening heatwaves over the summer.