One-step fabrication of biomimetic superhydrophobic surface by electrodeposition on magnesium alloy and its corrosion inhibition.