Customers are turning to discount retailers as food prices continue to rise, research suggests.