Analytical description of thermally stimulated polarization and depolarization currents