The numerical solution of Volterra integral equations with nonsmooth solutions based on sinc approximation