Thermoluminescence of KMgF3(RE) crystals