Irish dairy firm Donegal Creameries is to sell its milk and retail businesses to Connacht Gold Co-Operative Society.