A comprehensive introduction to the statistical and econometric methods for analyzing high-frequency financial data