Formation of Stable D Centres in Quantum Wells