State observer for nonlinear delay systems