AutoRAG: An Automated Tool for Optimizing Retrieval-Augmented Generation Pipelines