One-pot synthesis of magnetic Ni@Mg(OH)2 core-shell nanocomposites as a recyclable removal agent for heavy metals.