Where was the capital relocated to during the First Sino-Japanese War?