Understanding the roles of carbon in carbon/g-C3N4 based photocatalysts for H2 evolution