The lifespan of solutions to semilinear damped wave equations in one space dimension