During oxidative phosphorylation, the energy for ATP synthesis is directly provided by: