how does diabetes affect mortality