Sociodemographic and health-related correlates of psychiatric distress in a general population