Amorphization of nanometer precipitates in metals