IoT Sensor Selection for Target Localization: A Reinforcement Learning based Approach