Scattering of electrons by ionized impurities in semiconductors: quantum-mechanical approach to third body exclusion