Vacuum Ultraviolet Spectroscopy of Molecules Using Third-Harmonic Generation in Rare Gases