Unified formulation of geometrically nonlinear refined beam theories