Tokyo stocks close higher on bargain hunting