RouteRAG: Efficient Retrieval-Augmented Generation from Text and Graph via Reinforcement Learning