Europe is baking under heat that is shattering temperature records and prompting warnings after deaths were reported at amateur sports events in France.