Forecasting in nonlinear univariate time series using penalized splines