An Analytic Network Model for Smart Cities