Thermoluminescent (TL) properties of the perovskite KMgF3 activated by Ce and Er impurities.