Differences between detected and undetected patients in primary care and depressed psychiatric patients.