Large Language Model-driven Security Assistant for Internet of Things via Chain-of-Thought