Extensions of Ehrenfest's urn designs for comparing two treatments