Sparse Deep Learning for Time Series Data: Theory and Applications