Rationally Designed CdS-Based Ternary Heterojunctions: A Case of 1T-MoS2 in CdS/TiO2 Photocatalyst