MOrdRed: Memory-based Ordinal Regression Deep Neural Networks for Time Series Forecasting