The next extreme floods could be even worse, a new study shows. But there's a way to prevent that