Modeling of the interplay between single-file diffusion and conversion reaction in mesoporous systems