TableRAG: A Retrieval Augmented Generation Framework for Heterogeneous Document Reasoning