Measurement of carbon solubility in magnesium alloys using GD-OES