Template-free preparation and characterization of nanoporous g-C3N4 with enhanced visible photocatalytic activity