Least-squares state estimation of systems with state-dependent observation noise