The effect of wave period on dune erosion