Three of Spain's largest groups of milk farmers have decided to merge to strengthen their position in the sector.