Near-Optimal Sample Complexity for Iterated CVaR Reinforcement Learning with a Generative Model