A Wall Friction Model for One-Dimensional Unsteady Turbulent Pipe Flows