Galois cohomology of Fontaine rings