According to the chemiosmotic mechanism, what is the direct source of the energy used to synthesize ATP from ADP in chloroplasts and in mitochondria