Application of high-energy Nd–Fe–B magnets in the magnetic refrigeration