K-SHELL PHOTOIONIZATION AND PHOTOABSORPTION OF Ne, Mg, Si, S, Ar, AND Ca