Asymptotic distribution of statistics based on quadratic entropy and bootstrapping