Chemical stability and microstructure of Nd-Fe-B magnet prepared by spark plasma sintering