Investigations of magnetic properties and microstructure of 40Cedidymium–Fe–B based magnets