Nuclear magnetic resonance spectra and chemical structure