Investigation of the gyromagnetic factor of AgX:Ni2+ (X=Cl, Br)☆