A study of the synthesis, structure and properties of polyimides (polyarimides)