Non-Asymptotic Convergence of Discrete Diffusion Models: Masked and Random Walk dynamics