Beam-Foil Spectroscopy of Carbon in the Vacuum Ultraviolet