Firefighters struggle to contain blazes in northern and central Portugal