The chain becomes the latest retailer to take action to try to stop food being thrown away at home.