Synthesis and thermodynamics of Ag-Cu nanoparticles