Electrodeposited nanostructured WO3 thin films for photoelectrochemical applications