Religion and psychological distress in a community sample