Grocery sales in the UK have slowed in January but remained ahead of overall retail sales, new figures have revealed.