The energetics and evolution of oxidoreductases in deep time