UK economy grew 0.4% in July, outpacing forecasts