Estimation of quarticity with high frequency data