The collapse of a planned merger between Britvic and AG Barr is "disappointing" because it would have benefited both firms, an analyst has said.