Phase-shift calculation of ionized impurity scattering in semiconductors