Functional comparison of metabolic networks across species