Computer-assisted assessment of depression and function in older primary care patients