In situ construction of hierarchical graphitic carbon nitride homojunction as robust bifunctional photoelectrocatalyst for overall water splitting