Polynomials and Hankel matrices