Prices are rising at their fastest pace for a year in the UK, and higher energy costs are on the way.