Cationic double K-hole pre-edge states of CS2 and SF6