Magnetic measurements in the Earth’s magnetosphere and magnetosheath: Mariner 5