Accuracy of approximations of solutions to Fredholm equations by kernel methods