What role do proton gradients play in the synthesis of ATP in respiration? What role do proton gradients play in the synthesis of ATP in photosynthesis?