Analysis of proton transfer reactions in the cytochrome-c oxidase of mitochdria