Forest fires have cut off a village of 2,000 people in Portugal, as firefighters struggle to control two major blazes in the centre of the country.