One-dimensional model for the unsteady flow of a generalized third-grade viscoelastic fluid