Investigation of crystallization process in isotropic rare-earth-rich (Nd or Pr)–Fe–B films