Interaction of the solar wind with Mars from Mars Global Surveyor MAG/ER observations