Simulation of thermally stimulated dipolar processes in dielectrics