Tandem Reduction, Ammonolysis, Condensation, and Deamination Reaction for Synthesis of Benzothiadiazines and 1-(Phenylsulfonyl)-1H-benzimidazoles.