The US economy bounced back in the second quarter amid an uptick in consumer spending and a decline in imports, as the value of American goods and services increased at a higher rate than expected, according to data released Wednesday by the Commerce Department.