Multifunctional Carbazole-Based Materials As Electrochemical Water Splitting And Photoredox Catalysis