Gas chromatographic study of thermal polycyclocondensation of heterochain polymers