A new least square based reproducing kernel space method for solving regular and weakly singular 1D Volterra-Fredholm integral equations with smooth and nonsmooth solutions