Effects of current density on the structure of Ni and Ni–Mn electrodeposits