Synthesis, properties, and molecular simulations of high‐barrier polyimide containing carbazole moiety and amide group in the main chain