Shareholders in two Ireland-based dairy cooperatives have given their backing for the companies to join forces.