Intercalation behavior of polyimide/organoclay nanocomposites during thermal imidization