Gating and regulation of the cytochrome c oxidase proton pump.