Global and blow-up solutions for 1D compressible Euler equations with time-dependent damping