Lagrangian data assimilation in traffic-flow models