A novel control engineering approach to designing and optimizing adaptive sequential behavioral interventions