Application of modal control and dynamic observers to control of a double inverted pendulum