Observational and dynamical constraints on the rotation of Comet P/Halley