Periodic solutions of perturbed Hamiltonian systems in the plane by the use of the Poincaré-Birkhoff theorem