A thermodynamic understanding of clay-swelling inhibition by potassium ions.