Determination of shear stress between single-walled carbon nanotubes and substrates using NEMS devices