Construction of hydroxide pn junction for water splitting electrocatalysis