Dynamic factor model with infinite-dimensional factor space: Forecasting