Robust tungsten oxide nanostructure for efficient photoelectric conversion and hydrogen evolution