An emergency rescue communication system and environmental monitoring subsystem for underground coal mine based on wireless mesh network