Modification of the Martian ionosphere by the solar wind