The US economy grew at an annual rate of 3.5% in the third quarter, a better figure than economists were expecting.