Thermodynamic calculations of the Ag-Ga-Sn phase diagram