Controlled-potential electrolytic study of the formation of intermetallic compounds in nickel-zinc and gold-zinc amalgams