How did the sino- japanese and russo -japanese wars spring out of japan's new strength as a modernized nation ?