The invariant imbedding numerical method for Fredholm integral equations with degenerate kernels