Applications of spectroscopy to organic chemistry