Theory of nuclear and magnetic neutron small angle scattering at dislocations in anisotropic cubic crystals