Investigation of the solar plasma near Mars and on the earth-Mars trajectory by means of charged particle traps on Soviet spacecraft during 1971-1973. IV Comparison of the results of simultaneous plasma and magnetic measurements on the Mars-2 satellite