0D (MoS2)/2D (g-C3N4) heterojunctions in Z-scheme for enhanced photocatalytic and electrochemical hydrogen evolution