Hankel determinants and orthogonal polynomials