Constrained domatic bipartition of a tree