Metal–semiconductor ternary hybrids for efficient visible-light photocatalytic hydrogen evolution