Manufacturers including Nestle and Mars, as well as retailers like Sainsbury's and Marks and Spencer, have pledged to further cut food waste and carbon emissions in the UK.