Mars battery to harness CO₂ for energy storage