Thermodynamics of swelling of polymer latex particles by a water-soluble solvent