dams can control rivers