Chemical dependence of core-level linewidths and ligand-field splittings: High-resolution core-level photoelectron spectra of I 4d levels.