The evolutionary paths towards complexity: a metabolic perspective.