Reliability analysis of flood defence systems