Sense of coherence as a protective factor for psychological distress among gay men: a prospective cohort study