Inflation in the UK jumped to 2.9% in July as energy prices surged, while forecasts suggest household bills could rise again this autumn.