Structural and chemical approaches to enhance the photo/electrocatalytic performance of carbon/g-C3N4 composite materials.