Existence of even homoclinic orbits for second-order Hamiltonian systems