Simulation of X-ray diffraction in Mn$_x$Bi$_2$Te$_{3+x}$ epitaxic films