More than 2,200 dams are in poor condition, posing danger to communities