Long memory errors in time series regressions with a unit root