Securing the IoT System of Smart City against Cyber Threats Using Deep Learning