Molecular Spectra and Molecular Structure I. Spectra of Diatomic Molecules