As inflation rises, grocery retailers turn to price optimiza