Strong consumer spending helps the US economy grow at a faster rate than expected.