Thermodynamic stability of nanosized multicomponent bubbles/droplets: the square gradient theory and the capillary approach.