Death toll rises to 31 as area the size of New York is scorched by historic wildfires