In order to compete with Western nations, Japan began modernizing its politics and economy in 1868 in a process called