Food inflation has reached a two-year high in the UK, according to data from the British Retail Consortium.