Analysis of thermally stimulated currents using activation energy spectra