Magnetic properties of NdFeB magnets prepared by extrusion and sintering techniques