The planned merger of AG Barr and Britvic has collapsed after the Robinsons producer rejected an improved offer from the Scottish group.