Pivot–slide model of the motion of a curling rock