A mixed variational formulation based on exact intrinsic equations for dynamics of moving beams