Simulation of a defect region in KDP crystals doped with divalent iron ions. Comparison of defects induced by di-and trivalent metals