Flood hazard assessment using 1D and 2D approaches