Relationships of demographic variables and mental health indices to social satisfaction and functioning