Syntheses and characterization of model imide compounds and chemical imidization study