The evolution of solutions: A thermodynamic analysis of mechanical alloying