Thermodynamics of ion–solvent interactions