Highland Spring has agreed to buy Speyside Glenlivet Water Co, after the group collapsed into administration earlier this month.