Bimetallic diffusion modeling and temperature regulation during ball milling