Dynamics of photogenerated charges in the phosphate modified TiO2 and the enhanced activity for photoelectrochemical water splitting