Two convenience stores are due to shut as the major retailer behind them says they are no longer profitable.