Characteristics of Electromagnetic Radiation from Coal or Rock during Excavation and their Applications