Black Sheep Brewery rescued in £6.5m sale to drinks company