Peridynamics for geometrically nonlinear analysis of three-dimensional beam structures