Electrically conducting polymer based on polymeric phthalocyanine containing polyimide units