Ternary Dumbbell Nanowires for Photocatalytic Hydrogen Production