what are two ways in which waves erode the land