Thermodynamics of Condensed Ionic Systems