Sensor-mission assignment in rechargeable wireless sensor networks