Analysis of the Hipparcos sample of eclipsing binaries