Intramolecular antiferromagnetic vs ferromagnetic spin coupling through the biphenyl unit