South Koreans vote for president after months of turmoil