Nonlinear vibrations of beams considering shear deformation and rotary inertia