The UK economy grew in August after it was flat in the previous two months, according to the latest official figures, in a boost for Chancellor Rachel Reeves ahead of the Budget later this month.