Isothermal and non-isothermal spreading of a viscous droplet on a solid surface in total wetting condition