US food group ConAgra Foods has agreed to buy Del Monte Canada from private-equity firm Sun Capital Partners.