On Hilbert's irreducibility theorem