Template synthesis of carbon self-doped g-C3N4 with enhanced visible to near-infrared absorption and photocatalytic performance | Synapse