Chain of Ideas: Revolutionizing Research Via Novel Idea Development with LLM Agents