Magnetic field compression at the dayside magnetopause