Thermoreversible gelation of isotactic polystyrene: thermodynamics and phase diagrams