Three firefighters die as Portugal battles dozens of wildfires