Thousands of people have been forced to leave their homes as deadly wildfires continue to burn across southern Europe amid a record-breaking heatwave.