Nonautonomous single species models with time delay