Electrodeposition of tungsten chalcogenide thin films and characterisation for photoelectrochemical solar cells