Grocery inflation has risen for the first time since March 2023, according to closely watched industry data.