Study of the mechanism of amorphization by mechanical alloying