Transition phenomena in polystyrene near the theta condition