Rates of convergence for the cluster tree