M-estimation for periodic GARCH model with high-frequency data