Nonlinear controller and observer for a single-link flexible manipulator