Modeling of axially loaded nanowires embedded in elastic substrate media with inclusion of nonlocal and surface effects