Phase transitions in two-dimensional traffic-flow models.