Enhanced photoconductive gain in quantum-well infrared photodetectors