Greenyard Foods, Univeg and Peatinvest have reached a "final agreement" over a proposed merger, which, the companies said, will create a "global leader in fruit and vegetables".