X-ray-absorption and -emission spectra of a K2PdCl6 crystal studied by the self-consistent-charge extended Hückel method.