Stability and reactivity of oxygen, nickel and cobalt species in molten carbonates