Interplanetary magnetic field and magnetospheric substorms