On heating a crystal of KCl in potassium vapour, the crystal starts exhibiting a violet colour. What is this due to?