Essentials of time series for financial applications