Phase separation behaviour of polymers in water. Temperature and surfactant effect