Asymptotic behaviour of the density for one-dimensional Navier-Stokes equations