Synthesis of hexagonal rosettes of g-C3N4 with boosted charge transfer for the enhanced visible-light photocatalytic hydrogen evolution and hydrogen peroxide production.