X-ray emission from thin plasmas. Collisional ionization for atoms and ions of H to Zn