Japan wins World Baseball Classic, 10-6