Estimation of entropy measures for categorical variables with spatial correlation