Robust estimation of the periodicity in intraday volatility and jump detection