The nature and structure of a hanging dam in a gravel-bed river