Effects of impurities on the biodegradation behavior of pure magnesium