Chemical Mechanism of ATP Synthase