How Local and Global Metacognition Shape Mental Health