Instantaneous Optimal Control for Linear, Nonlinear and Hysteretic Structures - Stable Controllers