On optimal estimation problems for nonlinear systems and their approximate solution