The estimation of the effective charges on iodine, bromine, chlorine, sulfur, and tin atoms in compounds from Kα1 x-ray line shifts and from Hartree-Fock calculations on atoms and ions