A shallow-water theory of river bedforms in supercritical conditions