Assessing energy performance of smart cities