Optimal power allocation for wireless sensor powered by dedicated RF energy source