A general method of predicting the water activity of ternary aqueous solutions from binary data