Photoelectrochemical and structural characterization of carbon-doped WO3 films prepared via spray pyrolysis