A density functional study of nuclear magnetic resonance spin–spin coupling constants in transition-metal systems