Microstructure evolution during the direct-chill casting process in a Nd–Fe–B magnet investigated by a continuum-field–multi-phase-field method