Smart cities: getting greener and making money doing it