The polar heliospheric magnetic field