Controllable diffraction pattern in semiconductor quantum well based on quantum coherence