Synthesis and characterization of the new thermosetting monomers and phthalocyanine polymers with ester—imide linkages