The Which? investigation found that two supermarkets charge higher prices for 245 popular branded items for shoppers without loyalty cards