Impact of Worsened Metabolic Syndrome on the Risk of Dementia: A Nationwide Cohort Study