Study of X-rays and nuclear γ-rays in muonic thallium