FTIR studies of polyimides: thermal curing