Structural Changes of Cobalt-Based Perovskites upon Water Oxidation Investigated by EXAFS