depression and intelligence