Anisotropic diffusion of solar cosmic rays