Robust filtering and fault detection of switched delay systems