Deep learning-based fault diagnostics and prognostics for industrial systems