Crossover between weak antilocalization and weak localization in a magnetically doped topological insulator.