how did japan benefit from the treaty of portsmouth?