A dynamic recurrent neural-network-based adaptive observer for a class of nonlinear systems