Grocery price inflation defied predictions to slow in January to provide some relief for consumers, figures show.