Cation exchange and oxidative phosphorylation in mitochondria