Structure and properties of polyimide films during a far-infrared-induced imidization process