Molecular orbital theory of nuclear spin coupling constants