The condition of women, the length of stay and mortality in a psychiatric hospital