Thermodynamics of polymer solutions : phase equilibria and critical phenomena