Compositional dependence of the activity of nickel in silicate melts