Indirect determination of neutron capture cross sections on spherical and near-spherical nuclei using the surrogate method