are sand dunes formed by weathering