Impurities – Si interstitials interaction in Si doped with B or Ga during ion irradiation