RAG can make AI models riskier and less reliable, new research shows