Effects of non-ideal heat transfer on the glow curve in thermoluminescence experiments