The UK's largest grocer, Tesco, and fellow retailer Marks and Spencer have revealed the action they are taking to deal with the Brexit-related threat to food supplies.