Detailed kinetic of CO2 dissociation and C ionization: application to atmospheric Martian entries