Design of sliding-mode observers and filters for nonlinear dynamic systems