Preparation and gas transport properties of thermally induced rigid membranes of copolyimide containing cardo moieties