Thermodynamic designing and validation of biodegradable amorphous magnesium alloys for orthopedic implant applications