K-shell radiation physics in the ultrahigh optical depth pinches of the Z generator