Ecologically assessed affect and suicidal ideation following psychiatric inpatient hospitalization · Study