Mass spectrometric profiling and localization of metabolites in biological samples