Visible-light-induced generation of H2 by nanocomposites of few-layer TiS2 and TaS2 with CdS nanoparticles.