Servicing wireless sensor networks by mobile robots