Rethinking glycolysis: on the biochemical logic of metabolic pathways.