Existence of infinitely many homoclinic orbits in Hamiltonian systems