Adaptive neural-networks-based fault detection and diagnosis using unmeasured states