Enhanced photocatalytic H₂ generation on cadmium sulfide nanorods with cobalt hydroxide as cocatalyst and insights into their photogenerated charge transfer properties.