Commonly used heart and diabetes drugs may improve mental health, study finds