What country was often called in western countries a "hermit kingdom" over the later part of the 16th to the beginning of the 20th centuries?