Spectral similarity versus structural similarity: mass spectrometry