Purge-and-trap gas chromatographic method for residual volatiles in high-temperature polymers