Metallophthalocyanine-based conjugated microporous polymers as highly efficient photosensitizers for singlet oxygen generation.