Fault tolerant control of a three tank system: a flatness based approach