Template-free precursor-surface-etching route to porous, thin g-C3N4 nanosheets for enhancing photocatalytic reduction and oxidation activity