Photometric determination of gel point in PVC thermal degradation