An expert system for molecular structure elucidation based on spectral data