GDP rises 0.3 percent in the second quarter as consumption and capital spending sag.