Robust observer structures and control design for linear and nonlinear dynamical systems with applications