The Psychological and Physiological Mechanisms of Habit Formation