New experimental method for extracting the density and generation annealing rates of interface and oxide traps