The magnetic field and the magnetosphere of the planet Mars