New Tools For Econometric Analysis Of High-Frequency Time Series Data - Application To Demand-Side Management In Electricity Markets