Volterra-type integral equations of the second kind with nonsmooth solutions: high-order methods based on collocation techniques