Embattled South Korean President Yoon Suk Yeol has been arrested and indicted after briefly imposing martial law in December.