The enhanced photocatalytic activity of CdS/TiO2 nanocomposites by controlling CdS dispersion on TiO2 nanotubes