Anisotropy of Galactic Cosmic Rays and the Interplanetary Magnetic Field