Spectroscopy of Water in the Heavens and on Earth