Impact of pH and chloride content on the biodegradation of magnesium alloys for medical implants: An in vitro and phase-field study