Analysis of current directions in the bends of an ephemeral river and its geological implications