Application of magnetic field to the control of grain boundary segregation in iron