The Escape of O+ and CO+ Ions from Mars and Titan Atmospheres by Coulomb Explosion of CO2+2 Molecular Dications