RAGChecker: A Fine-grained Framework for Diagnosing Retrieval-Augmented Generation