Reversible high temperature cells for power generation and hydrogen production using mixed ionic electronic conducting solid electrolytes