South Korean prosecutors have indicted the impeached president, Yoon Suk Yeol, on charges of leading a rebellion.