Generalized UniFrac distances