Equilibrium shape changes of nanocrystals induced by strain