Peak selection in metabolic profiles using functional data analysis