Effects of Al–Al4C3 grain refiner and electromagnetic stirring on grain refinement of AZ31 magnesium alloy