Molecular engineering of carbon nitride towards photocatalytic H2 evolution and dye degradation.