Synthesis, characterization and protonation study of novel poly(thioether imide)s based on aromatic heterocyclic diimide