More than 300,000 displaced in France and Spain as wildfires rage