Food ingredients group Danisco has agreed to a US$5.8bn takeover bid from US chemicals group DuPont.