Periodic solutions of perturbed isochronous hamiltonian systems at resonance