The effects of previous psychiatric history on the cost of care: a comparison of various regression models