One-dimensional nanostructures as electrode materials for water electrolysis