what are the advantages of dams