HopRAG: Multi-Hop Reasoning for Logic-Aware Retrieval-Augmented Generation