Design of 3D Macroporous Inverse Opal TiO2 Binary and Ternary Composites Sensitized with Gold Nanoparticles and CdS Quantum Dots for Photocatalysis