A comparison of the impacts of CMEs and CIRs on the Martian dayside and nightside ionospheric species