Deep Time Series Forecasting with Shape and Temporal Criteria