Weight change caused by accumulation of volatiles during thermogravimetry of polymers