Wireless sensor network-based fire detection, alarming, monitoring and prevention system for Bord-and-Pillar coal mines