Tailoring the Electronic Properties of Colloidal Quantum Dots in Metal-Semiconductor Nanocomposites for High Performance Photodetectors.