Vibration and buckling analysis of nanotubes (nanofibers) embedded in an elastic medium using Doublet Mechanics