Social support and depression in three groups of psychiatric patients and a group of medical controls