Wildfires across France and Spain have forced more than 250,000 people to evacuate as crews battle fast-moving flames fuelled by extreme heat.