Synthesis of carbazole-based microporous polymer networks via an oxidative coupling mediated self-assembly strategy: from morphology regulation to application analysis