Regioselective Mono and Homo/hetero Dihalogenation of the Benzothioxanthene Monoimide