DynamicMind: A Tri-Mode Thinking System for Large Language Models