On the global maximization of network lifetime in wireless rechargeable sensor networks