When was Nanjing made a capital again