Transforming g-C3N4 from amphoteric to n-type semiconductor: The important role of p/n type on photoelectrochemical cathodic protection