Homogeneous transformation of the grain boundary phase and Tb grain boundary diffusion optimization in sintered Nd-Fe-B magnet