In women, depression and heart disease may be linked, a new study finds.