In New York City and Chicago, the smart city is here — and it's keeping track of everything