Reinforcement Learning based Transmission Range Control in Software-Defined Wireless Sensor Networks with Moving Sensor