The US economy rose by an annualised rate of 2.8% in the second quarter, marking the largest quarterly increase this year.