Hydrothermally deposited protective and bioactive coating for magnesium alloys for implant application