One-dimensional semiconductor-metal heterostructures for solar-to-fuel conversion through water splitting