Magnetic materials formed by metal ions and nitroxides