Wildfires have been spreading across the UK after what is thought to be the hottest summer on record.