Effects of the preparation method of the ternary CdS/TiO2/Pt hybrid photocatalysts on visible light-induced hydrogen production