Intelligent system for lighting control in smart cities.