Ce K edge XAS of ceria-based redox materials under realistic conditions for the two-step solar thermochemical dissociation of water and/or CO2.