Inhibition and nickel electrocrystallization