U.S. economy slows in second quarter; consumer spending robust