Application of System Reliability Analysis to Flood Forecasting