Peroxides as "switches" of dialkyl H-phosphonate: two mild and metal-free methods for preparation of 2-acylbenzothiazoles and dialkyl benzothiazol-2-ylphosphonates.