The period in Japan's history in the late 19th century when imperial rule was restored was known as the