Thermogravimetric study of thermal degradation of polyetherimide