Singlet-triplet transformation in the dimeric association of pyridinyl radicals