Estimating and exploiting the capacity of urban street networks