Computer simulation of potentiostatic current-time transients for nickel electrocrystallization