First principles calculation of thermodynamic properties of noble-metal alloys