What was the capital city during the Middle Kingdom