Influence of Dams on River Ecosystem and Its Countermeasures