Wildfires force 1,500 to flee homes in Spain