While UK inflation held steady in August, the pace of price rises for food surged, increasing cost of living pressures.