An approach for the state estimation of Takagi-Sugeno models and application to sensor fault diagnosis