Grocery price inflation has risen for the first time since March last year, figures show.