The UK economy posted another quarter of growth between April and June on the back of a stronger services sector, according to official figures.