Numerical Simulation for the Erosion and Stability of Riverbanks Subjected to Different Flood Hydrographs