Luminescence of spark-processed materials