Chebyshev Galerkin method for integro-differential equations of the second kind