Theory of non-steady-state interfacial thermal currents in MOS devices, and the direct determination of interfacial trap parameters