Millimeter and Submillimeter Wave Spectroscopy in the Laboratory and in the Interstellar Medium