KL-edges in x-ray absorption spectra of third-period atoms: Si, P, S, and Cl