Fate of cobalt and nickel in mackinawite during diagenetic pyrite formation