Theoretical study of the double proton transfer in the CHX-XH center dot center dot center dot CHX-XH (X = O, S) complexes