Reversible solid oxide fuel cell