Anisotropy of mechanical properties in sintered Nd–Fe–B magnets