Relationship between family functioning, psychological distress and well-being.