how diabetes affects the heart