Wildfires have flared up amid extreme temperatures in southern Europe, forcing thousands of tourists to flee from Greece.