Energy metabolism in anaerobic eukaryotes and Earth's late oxygenation