Thermodynamic analysis on tin precipitation behavior in Ti-bearing peritectic steel after magnesium treatment