Beam buckling analysis in peridynamic framework