Stabilization of dynamic systems using positional solutions of special optimal control problems