The cost of the cheapest groceries jumped more sharply than more premium brands as poorer households came under increased pressure during the cost-of-living crisis, according to research.