Think More, Hallucinate Less: Mitigating Hallucinations via Dual Process of Fast and Slow Thinking