UK temperatures hit record 40ºC as fires spread across the country