A calorimetric method for measuring ice in frozen solutions