The creation of city smartness: architectures of intelligence in smart cities and smart ecosystems