Convergence analysis of the Jacobi spectral-collocation methods for Volterra integral equations with a weakly singular kernel