Optimal State Observer Design for Nonlinear Dy namical Systems