Influence of Three-Component Barrier Layers on Optical Properties of Photodetectors with Quantum Dots