Effect of electropulsing on the solidification of mould flux