Preparation and properties of mechanically alloyed rare earth permanent magnets