Influence of Phosphorus Doping on Triazole-Based g-C3N5 Nanosheets for Enhanced Photoelectrochemical and Photocatalytic Performance.