ATP synthase: Evolution, energetics, and membrane interactions