Dominant mechanisms of hot-carrier degradation in short- and long-channel transistors