An Improved Immersed Boundary Method for Simulating Flow Hydrodynamics in Streams with Complex Terrains