Interpretation of the ultraviolet spectra of natural products