Beam-foil study of Cl III–VIII in the vacuum ultraviolet