Quantum interference effect and electric field domain formation in quantum well infrared photodetectors