The food industry has made progress in cutting waste from farm to shelf but faces challenges at either end, not least in convincing shoppers to buy less-than-perfect produce.