Thermodynamics of Wax Precipitation in Petroleum Mixtures