Social problems, social support and emotional distress in the community