Low-energy, adaptive, and distributed MAC protocol for wireless sensor-actuator networks