GDP rises 2 percent in third quarter