Influence of chemical structure of polyimide prepolymer on rheo‐mechanical properties of polyimide foam composites