Global solutions to one-dimensional compressible Navier-Stokes-Poisson equations with density-dependent viscosity