Existence and multiplicity of periodic solutions for second order Hamiltonian systems depending on a parameter