Phase-separation transition in one-dimensional driven models.