Biomimetic porous Mg with tunable mechanical properties and biodegradation rates for bone regeneration.