Model describing phosphorus diffusion gettering of transition elements in silicon