The association between depression and length of stay in the intensive care unit