The Hipparcos and Tycho Catalogues as an educational tool