KiRAG: Knowledge-Driven Iterative Retriever for Enhancing Retrieval-Augmented Generation