Reading the mind: a comparative study of out- and inpatients