Childhood trauma is associated with poorer social functioning in severe mental disorders both during an active illness phase and in remission