How to design smart cities that enable urban populations to thrive