Comparative classification of species and the study of pathway evolution based on the alignment of metabolic pathways