South Korea's anti-corruption agency says it has transferred its investigation of impeached President Yoon Suk-yeol to prosecutors.