The Norwegian government and food industry have signed an agreement pledging to halve food waste by 2030.