Analysis of risk factors of metabolic syndrome using a structural equation model: a cohort study