UK economy expands 0.4% in Q2 as services offset stagnant production