An observer-based fault-accommodating controller for nonlinear systems in the presence of sensor failures