The existence and uniqueness of the solutions of the nonlinear on–off switched systems with switching at variable times