Calculation of thermodynamic properties for ternary Ag-Cu-Sn system