Estimating quality of traffic flow on two-lane highways