Heat waves claimed the lives of tens of thousands of people in Europe's capital cities this summer as they experienced record temperatures.