Mechanism study of the thiol-addition reaction to benzothiazole derivative for sensing endogenous thiols