Anxiety, depressive, or cognitive disorders in rehabilitation patients: effect on length of stay.