A novel method for mitigating the effects of dynamic coexistence on the operation of IEEE 802.15.4-based mobile WSNs