Magnetic susceptibility of dimers with anisotropic exchange interactions