Anticipating traffic behavior at intersections