Ferromagnetic metal conversion directly from two-dimensional nickel hydroxide