what was the south korean's capitol during the korean war?