Influence of composition and size on the thermodynamic stability and structural evolution of CuAlNi nanoclusters