Tokyo stocks close higher on gains in US tech shares