Novel thermally stable polyimides based on flexible diamine: synthesis, characterization, and properties