Electrochemical route for accessing amorphous mixed-metal hydroxide nanospheres and magnetism