Variational principles for nonlinear Kirchhoff rods