Thermoluminescence in inorganic crystals