Pt nanoparticles embedded spine-like g-C3N4 nanostructures with superior photocatalytic activity for H2 generation and CO2 reduction