In vivo study of degradable magnesium and magnesium alloy as bone implant