Facile synthesis of CdS@TiO2 core–shell nanorods with controllable shell thickness and enhanced photocatalytic activity under visible light irradiation