Curvature dependence of the surface tension of liquid and vapor nuclei