Rotational state of the nucleus of Comet 9P/Tempel 1: Results from Hubble Space Telescope observations in 2004