A microstructure- and surface energy-dependent third-order shear deformation beam model