Three-color photodetector based on quantum dots and resonant-tunneling diodes coupled with conductive polymers