Theory of the anisotropy of nuclear spin coupling