U.K. retail sales grew at a slower pace than expected in July after a fall in the amount spent on food for the first time in 25 years when compared to the previous year, official data show.

Read MoreSupermarket wars hit UK retail sales