On the formation of periodic sandy mounds