Analysis and measurement of carrier lifetimes in the various operating modes of power devices