how does diabetes affect the heart