Origins of eukaryotic metabolism