An investigation on the role of W doping in BiVO4 photoanodes used for solar water splitting.