The duration of Niagara Falls and the history of the Great Lakes