Computer-aided interpretation of mass spectra. III. Self-training interpretive and retrieval system