Amorphous cobalt hydroxide nanostructures and magnetism from green electrochemistry