Photocatalytic Decomposition of Water on Spontaneously Hydrated Layered Perovskites