Fine-Tuning and RAG: Which One Is Better?