Magnetizing process in R-Fe-B sintered permanent magnets studied on boron-rich R17Fe83−xBx magnets (R = Pr, Nd)