Convergence rates of a class of multivariate density estimators based on adaptive partitioning