Thermodynamic equilibrium of binary mixtures on curved surfaces