Ionization of impurities in silicon