UK retail sales grew more strongly than expected at the start of the year, as otherwise cautious consumers spent more on food to eat at home.