Convergence Analysis of Legendre wavelets in numerical solution of linear weakly singular Volterra integral equation for union of some intervals with application in heat conduction