A posteriori detection of the planetary transit of HD 189733 b in the Hipparcos photometry