Thermodynamic Phase Behavior of Ionic Liquids