Enhancement of the photoelectrochemical properties of Cl-doped ZnO nanowires by tuning their coaxial doping profile