U.S. economy grows at 3.1% pace in third quarter, an upgrade from previous estimate