On the Bifurcation of Limit Cycles Due to Polynomial Perturbations of Hamiltonian Centers