Effects of nano-voids and nano-cracks on the elastic properties of a host medium: XFEM modeling with the level-set function and free surface energy