A semi-analytical solution for the dam-break problem over a movable bed