Smart cities: theoretical framework and measurement experiences