Loss of permanent employment and its association with suicidal ideation: a cohort study in South Korea