Feature extraction and quantification for mass spectrometry in biomedical applications using the mean spectrum