Evaluation of field-desorption and fast atom-bombardment mass spectrometric profiles by pattern recognition techniques