The Sustainable City and the Smart City: measuring the urban entropy first