Synthesis and characterization of polyimides membrane material for gas permeation and polymer electrolyte for fuel cell