Isotropic correlation functions on d-dimensional balls