Tokyo stocks surge on last trading day of year