Analogue computer simulation of thermoluminescence and thermally stimulated conductivity